package cn.edu.djtu.fw.dao;

import java.util.List;

import cn.edu.djtu.fw.model.Admin;

public interface AdminMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(Admin admin);

	Admin selectByPrimaryKey(Integer id);

	int updateByPrimaryKey(Admin admin);

	Admin selectByNameAndPwd(Admin admin);

	List<Admin> getAllAdmin(Admin admin);
}